package com.hongyan.bean;

import java.sql.Timestamp;
import java.util.Objects;

public class Test_sys {
    private String sys_id;

    private String sys_name;

    private String difficulty;

    private Timestamp last_time;

    private String version;

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        Test_sys that = (Test_sys) o;
        return Objects.equals(sys_id, that.sys_id) && Objects.equals(sys_name, that.sys_name) && Objects.equals(difficulty, that.difficulty) && Objects.equals(last_time, that.last_time) && Objects.equals(version, that.version);
    }

    @Override
    public int hashCode() {
        return Objects.hash(sys_id, sys_name, difficulty, last_time, version);
    }

    public Object[] toArray() {
        return new Object[]{
            sys_id,
            sys_name,
            difficulty,
            last_time,
            version
        };
    }

    public String getSys_id() {
        return sys_id;
    }

    public void setSys_id(String sys_id) {
        this.sys_id = sys_id;
    }

    public String getSys_name() {
        return sys_name;
    }

    public void setSys_name(String sys_name) {
        this.sys_name = sys_name;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public Timestamp getLast_time() {
        return last_time;
    }

    public void setLast_time(Timestamp last_time) {
        this.last_time = last_time;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
